package day10.FileTest;

import java.io.File;
import java.io.IOException;

public class Test3 {
    public static void main(String[] args) throws IOException {
        File file = File.createTempFile("abc", null);
        System.out.println(file.getAbsoluteFile()); // /var/folders/dd/ptbbnvbx7hx61w2xpccjjgfc0000gn/T/abc16665850779345195608txt
    }
}
